import request from '@/utils/request'
export const getListApi = (params: object) =>
    request({
        url: 'classify/list',
        // 在request里面已经封装过了  所以就不需要在封装了
        // baseURL,
        method: 'get',
        params
    })
export const getSaveApi = (data: object) =>
    request({
        url: 'classify/save',
        method: 'post',
        data
    })
export const getModifyApi = (data: object) =>
    request({
        url: 'classify/modify',
        method: 'post',
        data
    })
export const getDelete = (params: object) => {
    request({
        url: 'classify/delete',
        method: 'get',
        params
    })
}